package com.qijian.flowable.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 多人力资源对象 t_flowable_matrix_human
 *
 * @author qijian
 * @date 2022-02-24
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("t_flowable_matrix_human")
public class FlowableMatrixHuman extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;

    /** 编码 */
    @Excel(name = "编码")
    @ApiModelProperty(value = "编码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 父级id */
    @Excel(name = "父级id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "父级id")
    private Long parentId;

    /** 父级名称 */
    @Excel(name = "父级名称")
    @ApiModelProperty(value = "父级名称")
    private String parentName;

    /** 顶层id */
    @Excel(name = "顶层id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "顶层id")
    private Long topId;

    /** 排序 */
    @Excel(name = "排序")
    @ApiModelProperty(value = "排序")
    private Long sort;

}
